<?php if( $user->getStatusId() == MyConstants::STATUS_APPROVED): ?>
    <?php echo link_to(__('disable'), 'user/disable?id=' . $user->getId()) ?>

<?php else: ?>
    <?php echo link_to(__('enable'), 'user/enable?id=' . $user->getId()) ?>

<?php endif; ?>